decision table

Terms from Artificial Intelligence: humans at the heart of algorithms

Page numbers are for draft copy at present; they will be replaced with correct numbers when final book is formatted. Chapter numbers are correct and will not change now.

A decision table represents an input-output relationship as a table listing combinations of input variables and their corresponding outputs (sometiimes a boolean yes/no value). An exhaustive lsist such as this is only useful for relatively simple decsions with a small nunber of variables and alternatives, but can be a lot clear as replacement for, or alongside more rule-based or algorithmic knowledge representations.
A simple decision table to determie the kind of animal based on colour and size:

INPUTOUPUT
coloursizeanimal
greylargeelephant
greysmallmouse
bluelargewhale
bluesmallbutterfly
pinklargepink elephant
.........

Used on Chap. 5: page 107